# x = 20
#
#
# def test():
#     print(f'x = {x}')
#
#
# test()

# x = 20
#
#
# def test():
#     global x
#     x = 10
#     print(f'函数内部 x = {x}')
#
#
# test()
# print(f'函数外部 x = {x}')


